<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/User.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    
<% using(Html.BeginForm()) { %>

    <fieldset>
        <legend><%= Html.ThemeImage("change_password.png")%> Change Password</legend>
        <dl class="form">
            <dt>Current Password</dt>
            <dd>
                <%= Html.Password("Password")%>
                <%= Html.ValidationMessage("Password")%>
            </dd>
            
            <dt>New Password</dt>
            <dd>
                <%= Html.Password("NewPassword") %>
                <%= Html.ValidationMessage("NewPassword")%>
                <label>
                min. <%= mesoBoard.Services.SiteConfig.PasswordMin %> characters
                </label>
            </dd>
            
            <dt>Confirm New Password</dt>
            <dd>
                <%= Html.Password("ConfirmPassword")%>
                <%= Html.ValidationMessage("ConfirmPassword")%>
            </dd>        
            
            <dt>&nbsp;</dt>
            <dd><%= Html.SubmitButton("ChangePassword", "Change Password") %></dd>
            
        </dl>

    </fieldset>

<% } %> 
    
</asp:Content>
